/*!
 *  \file       GaussRandomGenerator.hpp
 *  \brief      Definizione della classe \c GaussRandomGenerator
 *  \author     Davide Scola <S2299453@studenti.unige.it>
 *  \author	Minetti Alberto <S3064777@studenti.unige.it>
 *  \version    1.0
 */

#ifndef _GAUSS_RANDOM_GENERATOR_H
#define _GAUSS_RANDOM_GENERATOR_H

/*!
 *  \brief      Definizione della classe \c GaussRandomGenerator
 */
template< typename tType >
class GaussRandomGenerator : public IntervalRandomGenerator< tType >
{
  public :
    GaussRandomGenerator( tType, tType, IEntropyGenerator & );
    GaussRandomGenerator( GaussRandomGenerator< tType > const& );
    
    virtual GaussRandomGenerator& operator=( const GaussRandomGenerator& );
    
    virtual tType next();
    
  protected :
    tType	mean_;
    tType	stdev_;
};

// Idiomatic random generators
typedef GaussRandomGenerator< double >	GaussianRandomGenerator;

#endif              /* _GAUSS_RANDOM_GENERATOR_H */
